<template>
  <div>
    <el-button type="danger" @click="toDelete()">删除</el-button>
    <el-dialog v-dialogDrag ref="dialog_isDelete" title="提示" :visible.sync="isDelete" width="32%">
      <span>是否删除！</span>
      <span slot="footer" class="dialog-footer">
        <el-button type="success" @click="doDelete()">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>
<script>
export default {
  data() {
    return { isDelete: false };
  },
  components: {},
  methods: {
    toDelete() {
      this.isDelete = true;
    },
    doDelete: async function() {}
  },
  created() {},
  mounted() {}
};
</script>
<style scoped>
</style>


